home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / CFGFORM.AML < prev    next >
Text File  |  1996-07-17  |  1KB  |  38 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // CFGFORM.AML
  5. // Configuration for Text Reformatting
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. variable formatopt, paraopt
  11.  
  12. // create dialog box
  13. dialog "Text Reformatting Options" 53 10 "cp"
  14.  
  15. // default options
  16. groupbox 'Default Options:' 3 2
  17.   (menu ''
  18.      item " [ ] &Justify both Left and Right     "
  19.      item " [ ] &Keep &Spaces"
  20.      item " [ ] Keep First-Line &Indent/Outdent"
  21.    end) '' _FormatOpt "jkrc"
  22.  
  23. // paragraph options
  24. groupbox 'When no Mark:' 3 7
  25.   (menu ''
  26.      item " [ ] Advance &Cursor "
  27.      item " [ ] Format to &End-of-Paragraph Only "
  28.    end) '' _FormatOpt "ce"
  29.  
  30. // ok/cancel buttons
  31. button "O&k"    43  3 8
  32. button "Cancel" 43  5 8
  33.  
  34. // display dialog box
  35. if (getdialog ref formatopt ref paraopt) == "Ok" then
  36.   prf.FormatOpt = formatopt + paraopt
  37. end
  38.